package com.cyandpos.pad.offline.upload;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xin on 2021/11/2
 * desc:
 */
public class TicketOffline {
    private int crmServiceBillId;
    private String storeCode;
    private String sktNo;
    private int jlbh;
    private String orderNo;
    private String kssj;
    private String jssj;
    private String qxsj;
    private String tjsj;
    private String mangerCardNo;
    private String tourGuideCard_CXDDH;
    private String tourGuideCardNo;
    private int saleMoney;//销售金额
    private int changeMoney;//找零金额
    private int totalDiscount;//总折扣金额
    private String oldOrderNo;//原订单号
    private String oldSktNo;
    private int oldJlbh;
    private int ddly;
    private int jylx;
    private int orderFunction;
    private int status;
    private int djdstatus;
    private double jyjf;
    private boolean offline;
    private int skyid;
    private int smg_hyid;
    private String phone;
    private boolean needVipToOfferCoupon;
    private boolean isneedBuyCent;
    private String needBuyCent;//退货需要买的积分
    private int transportFee;
    private int deliveryType;
    private int deliveryStatus;
    private int selfShopId;
    private String remark;
    private String oldjzrq;//记账日期
    private int total_Freetax;//本笔交易的已免税金额
    private int totalTaxMoney;//总的税金
    private int total_Skje_Except_YHQ_CZK;
    private int flag;
    private int freeTax_BJ;
    private boolean returnTax;
    private boolean pickUpStatus;
    private boolean checkCrm;
    private List<GoodOffline> goodsList;
    private List<TicketPayItemOffline> payList;
    private PersonOffline skyInfo;//收款原信息
    private List<ShopEmployeeInfoOffline> salerInfoList;//营业员信息

//    private List<GoodsPamentData> goodsPamentDataList;//收款方式分摊到商品上的数据取表ORDER_ITEM_PAY
//    private VipCard vip;


    public TicketOffline() {
        this.payList = new ArrayList<>();
        this.goodsList = new ArrayList<>();
        this.salerInfoList = new ArrayList<>();
        skyInfo = new PersonOffline();
    }

    public int getCrmServiceBillId() {
        return crmServiceBillId;
    }

    public void setCrmServiceBillId(int crmServiceBillId) {
        this.crmServiceBillId = crmServiceBillId;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getSktNo() {
        return sktNo;
    }

    public void setSktNo(String sktNo) {
        this.sktNo = sktNo;
    }

    public int getJlbh() {
        return jlbh;
    }

    public void setJlbh(int jlbh) {
        this.jlbh = jlbh;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getKssj() {
        return kssj;
    }

    public void setKssj(String kssj) {
        this.kssj = kssj;
    }

    public String getJssj() {
        return jssj;
    }

    public void setJssj(String jssj) {
        this.jssj = jssj;
    }

    public String getQxsj() {
        return qxsj;
    }

    public void setQxsj(String qxsj) {
        this.qxsj = qxsj;
    }

    public String getTjsj() {
        return tjsj;
    }

    public void setTjsj(String tjsj) {
        this.tjsj = tjsj;
    }

    public String getMangerCardNo() {
        return mangerCardNo;
    }

    public void setMangerCardNo(String mangerCardNo) {
        this.mangerCardNo = mangerCardNo;
    }

    public String getTourGuideCard_CXDDH() {
        return tourGuideCard_CXDDH;
    }

    public void setTourGuideCard_CXDDH(String tourGuideCard_CXDDH) {
        this.tourGuideCard_CXDDH = tourGuideCard_CXDDH;
    }

    public String getTourGuideCardNo() {
        return tourGuideCardNo;
    }

    public void setTourGuideCardNo(String tourGuideCardNo) {
        this.tourGuideCardNo = tourGuideCardNo;
    }

    public int getSaleMoney() {
        return saleMoney;
    }

    public void setSaleMoney(int saleMoney) {
        this.saleMoney = saleMoney;
    }

    public int getChangeMoney() {
        return changeMoney;
    }

    public void setChangeMoney(int changeMoney) {
        this.changeMoney = changeMoney;
    }

    public int getTotalDiscount() {
        return totalDiscount;
    }

    public void setTotalDiscount(int totalDiscount) {
        this.totalDiscount = totalDiscount;
    }

    public String getOldOrderNo() {
        return oldOrderNo;
    }

    public void setOldOrderNo(String oldOrderNo) {
        this.oldOrderNo = oldOrderNo;
    }

    public String getOldSktNo() {
        return oldSktNo;
    }

    public void setOldSktNo(String oldSktNo) {
        this.oldSktNo = oldSktNo;
    }

    public int getOldJlbh() {
        return oldJlbh;
    }

    public void setOldJlbh(int oldJlbh) {
        this.oldJlbh = oldJlbh;
    }

    public int getDdly() {
        return ddly;
    }

    public void setDdly(int ddly) {
        this.ddly = ddly;
    }

    public int getJylx() {
        return jylx;
    }

    public void setJylx(int jylx) {
        this.jylx = jylx;
    }

    public int getOrderFunction() {
        return orderFunction;
    }

    public void setOrderFunction(int orderFunction) {
        this.orderFunction = orderFunction;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getDjdstatus() {
        return djdstatus;
    }

    public void setDjdstatus(int djdstatus) {
        this.djdstatus = djdstatus;
    }

    public double getJyjf() {
        return jyjf;
    }

    public void setJyjf(double jyjf) {
        this.jyjf = jyjf;
    }

    public boolean isOffline() {
        return offline;
    }

    public void setOffline(boolean offline) {
        this.offline = offline;
    }

    public int getSkyid() {
        return skyid;
    }

    public void setSkyid(int skyid) {
        this.skyid = skyid;
    }

    public int getSmg_hyid() {
        return smg_hyid;
    }

    public void setSmg_hyid(int smg_hyid) {
        this.smg_hyid = smg_hyid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public boolean isNeedVipToOfferCoupon() {
        return needVipToOfferCoupon;
    }

    public void setNeedVipToOfferCoupon(boolean needVipToOfferCoupon) {
        this.needVipToOfferCoupon = needVipToOfferCoupon;
    }

    public boolean isIsneedBuyCent() {
        return isneedBuyCent;
    }

    public void setIsneedBuyCent(boolean isneedBuyCent) {
        this.isneedBuyCent = isneedBuyCent;
    }

    public String getNeedBuyCent() {
        return needBuyCent;
    }

    public void setNeedBuyCent(String needBuyCent) {
        this.needBuyCent = needBuyCent;
    }

    public int getTransportFee() {
        return transportFee;
    }

    public void setTransportFee(int transportFee) {
        this.transportFee = transportFee;
    }

    public int getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(int deliveryType) {
        this.deliveryType = deliveryType;
    }

    public int getDeliveryStatus() {
        return deliveryStatus;
    }

    public void setDeliveryStatus(int deliveryStatus) {
        this.deliveryStatus = deliveryStatus;
    }

    public int getSelfShopId() {
        return selfShopId;
    }

    public void setSelfShopId(int selfShopId) {
        this.selfShopId = selfShopId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOldjzrq() {
        return oldjzrq;
    }

    public void setOldjzrq(String oldjzrq) {
        this.oldjzrq = oldjzrq;
    }

    public int getTotal_Freetax() {
        return total_Freetax;
    }

    public void setTotal_Freetax(int total_Freetax) {
        this.total_Freetax = total_Freetax;
    }

    public int getTotalTaxMoney() {
        return totalTaxMoney;
    }

    public void setTotalTaxMoney(int totalTaxMoney) {
        this.totalTaxMoney = totalTaxMoney;
    }

    public int getTotal_Skje_Except_YHQ_CZK() {
        return total_Skje_Except_YHQ_CZK;
    }

    public void setTotal_Skje_Except_YHQ_CZK(int total_Skje_Except_YHQ_CZK) {
        this.total_Skje_Except_YHQ_CZK = total_Skje_Except_YHQ_CZK;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getFreeTax_BJ() {
        return freeTax_BJ;
    }

    public void setFreeTax_BJ(int freeTax_BJ) {
        this.freeTax_BJ = freeTax_BJ;
    }

    public boolean isReturnTax() {
        return returnTax;
    }

    public void setReturnTax(boolean returnTax) {
        this.returnTax = returnTax;
    }

    public boolean isPickUpStatus() {
        return pickUpStatus;
    }

    public void setPickUpStatus(boolean pickUpStatus) {
        this.pickUpStatus = pickUpStatus;
    }

    public boolean isCheckCrm() {
        return checkCrm;
    }

    public void setCheckCrm(boolean checkCrm) {
        this.checkCrm = checkCrm;
    }

    public List<GoodOffline> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodOffline> goodsList) {
        this.goodsList = goodsList;
    }

    public List<TicketPayItemOffline> getPayList() {
        return payList;
    }

    public void setPayList(List<TicketPayItemOffline> payList) {
        this.payList = payList;
    }

    public PersonOffline getSkyInfo() {
        return skyInfo;
    }

    public void setSkyInfo(PersonOffline skyInfo) {
        this.skyInfo = skyInfo;
    }

    public List<ShopEmployeeInfoOffline> getSalerInfoList() {
        return salerInfoList;
    }

    public void setSalerInfoList(List<ShopEmployeeInfoOffline> salerInfoList) {
        this.salerInfoList = salerInfoList;
    }

    @Override
    public String toString() {
        return "TicketOffline{" +
                "crmServiceBillId=" + crmServiceBillId +
                ", storeCode='" + storeCode + '\'' +
                ", sktNo='" + sktNo + '\'' +
                ", jlbh=" + jlbh +
                ", orderNo='" + orderNo + '\'' +
                ", kssj='" + kssj + '\'' +
                ", jssj='" + jssj + '\'' +
                ", qxsj='" + qxsj + '\'' +
                ", tjsj='" + tjsj + '\'' +
                ", mangerCardNo='" + mangerCardNo + '\'' +
                ", tourGuideCard_CXDDH='" + tourGuideCard_CXDDH + '\'' +
                ", tourGuideCardNo='" + tourGuideCardNo + '\'' +
                ", saleMoney=" + saleMoney +
                ", changeMoney=" + changeMoney +
                ", totalDiscount=" + totalDiscount +
                ", oldOrderNo='" + oldOrderNo + '\'' +
                ", oldSktNo='" + oldSktNo + '\'' +
                ", oldJlbh=" + oldJlbh +
                ", ddly=" + ddly +
                ", jylx=" + jylx +
                ", orderFunction=" + orderFunction +
                ", status=" + status +
                ", djdstatus=" + djdstatus +
                ", jyjf=" + jyjf +
                ", offline=" + offline +
                ", skyid=" + skyid +
                ", smg_hyid=" + smg_hyid +
                ", phone='" + phone + '\'' +
                ", needVipToOfferCoupon=" + needVipToOfferCoupon +
                ", isneedBuyCent=" + isneedBuyCent +
                ", needBuyCent='" + needBuyCent + '\'' +
                ", transportFee=" + transportFee +
                ", deliveryType=" + deliveryType +
                ", deliveryStatus=" + deliveryStatus +
                ", selfShopId=" + selfShopId +
                ", remark='" + remark + '\'' +
                ", oldjzrq='" + oldjzrq + '\'' +
                ", total_Freetax=" + total_Freetax +
                ", totalTaxMoney=" + totalTaxMoney +
                ", total_Skje_Except_YHQ_CZK=" + total_Skje_Except_YHQ_CZK +
                ", flag=" + flag +
                ", freeTax_BJ=" + freeTax_BJ +
                ", returnTax=" + returnTax +
                ", pickUpStatus=" + pickUpStatus +
                ", checkCrm=" + checkCrm +
                ", goodsList=" + goodsList +
                ", payList=" + payList +
                ", skyInfo=" + skyInfo +
                ", salerInfoList=" + salerInfoList +
                '}';
    }

//    @Override
//    protected Object clone() throws CloneNotSupportedException {
//        return super.clone();
//    }
}
